﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FlowThruAllocationDetail.aspx.cs" Inherits="WMS6.Web.CrossDock.FlowThruAllocationDetail1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>FlowThruAllocationDetail</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>  
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>
    <script src="../Js/checkbox.js" type="text/javascript"></script>
      <script src="../Js/Verification.js" type="text/javascript"></script>
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initDetailPage();
        }
        
        //弹出窗口选择货品
        function selectSku()
        {
            var rtnValue = popModalWindow('../Configuration/SkuQuery.aspx?action=txtSkuID&ownerID='+document.getElementById("txtOwnerID").value,'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSkuID").focus();
                document.getElementById("txtSkuID").value = rtnValue;
                 document.getElementById("hdnPageType").value = "1"
                __doPostBack("txtSkuID_TextChanged","");
            }
        }
        
        //弹出窗口选择承运商
        function selectPack()
        {
            var rtnValue = popModalWindow('../Configuration/PackQuery.aspx?action=txtPackID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtPackID").focus();
                document.getElementById("txtPackID").value = rtnValue;
                 document.getElementById("hdnPageType").value = "1"
                __doPostBack("txtPackID_TextChanged","");
            }
        }
         // 根据 预期量计算 体积 毛重 净重
        function ComputeExpectedQty(obj)
        { 
            
        }
    </script>
</head>
<body>
    <form id="F79573" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        
        
            <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblAllocateRuleDetail" runat="server" CssClass="label_header" 
                            Text="订单明细" meta:resourcekey="lblAllocateRuleDetail"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnCancel" runat="server" Enabled="false"  CssClass="button" Text="<%$Resources:ButtonResource,btnCancel%>" AccessKey="c"
                            OnClick="btnCancel_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" Enabled="false"  CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" AccessKey="s"
                            OnClick="btnSave_Click" OnClientClick="SethdnPageQty('hdnPageQty');" />
                    </td>
                    <td>
                       
                    </td>
                </tr>
            </table>
        </div>
          <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
         <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" ></asp:Label>
        </div>
        
        
        <div id="div_menu">
        <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)" id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" 
                    meta:resourcekey="one1">订单明细</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1"></div>
            </div>
        </div>
        
         <div id="div_content">
             <div id="con_one_1" style="display: block;">
                 <table width="720" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblConsigneeID" runat="server" CssClass="label" Text="客户" 
                               ></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblOrderID" runat="server" CssClass="label" Text="直通订单号" 
                                ></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" 
                                meta:resourcekey="lblStatus"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblTotalCube" runat="server" CssClass="label" 
                                 Text="发货订单号"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:TextBox ID="txtConsigneeID" runat="server" CssClass="textbox" 
                               ></asp:TextBox>
                        </td>
                        <td width="180">
                            <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" 
                               ></asp:TextBox>
                        </td>
                        <td width="180">
                            <asp:TextBox ID="txtStatus" runat="server" CssClass="textbox" 
                                ></asp:TextBox>
                        </td>
                        <td width="180">
                            <asp:TextBox ID="txtTotalCube" runat="server" CssClass="textbox" 
                                ></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="开放数量" 
                                meta:resourcekey="lblOwnerID"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblShippedQTY" runat="server" CssClass="label" Text="发货数量" 
                                ></asp:Label><font class="must_input">*</font>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblOpenQTY" runat="server" CssClass="label" Text="剩余数量" 
                               ></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblConvertedQTY" runat="server" CssClass="label" 
                               Text="转换数量"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtOwnerID"></asp:TextBox>
                        </td>
                        <td width="180">
                            <asp:TextBox ID="txtShippedQTY" runat="server" CssClass="textbox" 
                                ></asp:TextBox>
                        </td>
                        <td width="180" >
                            <asp:TextBox ID="txtOpenQTY" runat="server" CssClass="textbox" 
                                ></asp:TextBox>
                        </td>
                            <td width="180" >
                                <asp:TextBox ID="txtConvertedQTY" runat="server" CssClass="textbox" 
                                   ></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblToProcessQTY" runat="server" CssClass="label" Text="待处理数量" 
                                ></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblSequence" runat="server" CssClass="label" Text="顺序号" 
                                meta:resourcekey="lblUomID"></asp:Label>
                        </td>
                        <td width="180">
                            &nbsp;
                        </td>
                        <td width="180">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:TextBox ID="txtToProcessQTY" runat="server" CssClass="textbox" 
                                ></asp:TextBox>
                        </td>
                        <td width="180">
                            <asp:TextBox ID="txtSequence" runat="server" CssClass="textbox" 
                               ></asp:TextBox>
                        </td>
                        <td width="180">
                            &nbsp;
                        </td>
                        <td width="180">
                            &nbsp;
                        </td>
                    </tr>
                    
                   
                    <tr>
                        <td width="180">
                            <asp:CheckBox ID="chkQcAutoAdjust" runat="server" CssClass="selectbox"  Width="150px"
                                Text="分配" meta:resourcekey="chkQcAutoAdjust" />
                        </td>
                        <td width="180">
                            &nbsp;
                        </td>
                        <td width="180">
                            &nbsp;
                        </td>
                        <td width="180">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            &nbsp;</td>
                        <td width="180">
                            &nbsp;</td>
                        <td width="180">
                            &nbsp;</td>
                        <td width="180">
                            &nbsp;
                        </td>
                    </tr>
                 </table>
             </div>            
        
    </div>
                <input type="hidden" id="hdnFrom" runat="server"></input>
                <input id="hdnpoID" runat="server" type="hidden"></input>
                <input id="hdnTotalGrossWeight" runat="server" type="hidden"></input>
                <input id="hdnTotalNetWeight" runat="server" type="hidden"></input>
                <input id="hdnTotalPrice" runat="server" type="hidden"></input>
                <input id="hdnTotalCube" runat="server" type="hidden"></input>
                <input id="hdnUomValue" runat="server" type="hidden"></input>
                <input id="hdnPageQty" runat="server" type="hidden" value="0"></input>
                <input id="hdnPageType" runat="server" type="hidden" value="0"></input>
            </ContentTemplate>              
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
